module.exports = app => {
  const { router, controller } = app;
  router.post('/user/dologin', controller.user.doLogin.index)
  router.post('/user/doregister', controller.user.doRegister.index)
  router.post('/user/addcart', controller.user.addCart.index)
  router.post('/user/removecart', controller.user.removeCart.index)
  router.get('/user/cart', controller.user.cart.index)
};